package com.example.diethealthsystem.repository;

import com.example.diethealthsystem.entity.DietPlanItem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DietPlanItemRepository extends JpaRepository<DietPlanItem, Long> {
    List<DietPlanItem> findByDietPlanId(Long dietPlanId);
} 